<h3>Cập nhật tin</h3>
<hr></hr>


<?php echo validation_errors() ?>
<div style="padding-left: 60px;">
<form name="updateform" method="post" action="<?php echo base_url()?>index.php/news/update/<?php echo $id ?>" enctype="multipart/data-form"> 
	<p></p>
	 <input type ="hidden" name ="id" value ="<?php echo $id;?>">
	<label for = "title">Tiêu đề tin</label><br /><br />
	<input type="text" name="title" value="<?php echo $title ?>" size="70" /><br />
	<p>
	<lable for= "text">Nội dung tin</lable><p>
	<textarea name="text" rows="20" cols="150"><?php echo $text?></textarea>
	<p></p>
	<input type="hidden" value="Update" name="update">
	<input type="submit" name="submit" value="Lưu" />
</form>
</div>